[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_MARUSSIAB2 SECONDARY_LOGO_MARUSSIAB2 "B2Parts\SECONDARY_LOGO_MARUSSIAB2.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_MARUSSIA CARSELECT_MANUFACTURER_MARUSSIA "B2Parts\CARSELECT_MANUFACTURER_MARUSSIA.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "B2Parts\TuningIcons"

move_file override relative absolute B2Parts\MARUSSIAB2.ini scripts\UnlimiterData\MARUSSIAB2.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions MARUSSIAB2
do
remove_collection GLOBAL\GLOBALB.LZC Collisions MARUSSIAB2
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides MARUSSIAB2_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides MARUSSIAB2_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos CARRERAGT MARUSSIAB2
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 DefaultBasePaint MARUSSIAB2_PAINT_BLUE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 ManufacturerName MARUSSIA
copy_collection GLOBAL\GLOBALB.LZC Collisions CARRERAGT MARUSSIAB2
import override GLOBAL\GLOBALB.LZC DBModelParts B2Parts\MARUSSIAB2.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides CARRERAGT_PART_SPOILER MARUSSIAB2_PART_SPOILER

if directory_exists absolute CARS\MARUSSIAB2
do
else
create_folder absolute CARS\MARUSSIAB2
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\MARUSSIAB2\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\MARUSSIAB2\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\MARUSSIAB2\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\MARUSSIAB2\VINYLS.BIN

end

combobox "Silver" "Black" "Red" "Blue" "Green" "Yellow" "Choose your stock color."

"Silver"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 DefaultBasePaint MARUSSIAB2_PAINT_SILVER

"Black"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 DefaultBasePaint MARUSSIAB2_PAINT_BLACK

"Red"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 DefaultBasePaint MARUSSIAB2_PAINT_RED

"Blue"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 DefaultBasePaint MARUSSIAB2_PAINT_BLUE

"Green"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 DefaultBasePaint MARUSSIAB2_PAINT_GREEN

"Yellow"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos MARUSSIAB2 DefaultBasePaint MARUSSIAB2_PAINT_YELLOW

end
